MAKE MEMBLOCK FROM ARRAY

This command will make a memblock from the specified array

  Syntax
MAKE MEMBLOCK FROM ARRAY Memblock Number, Array Name(0)
  Parameters
Memblock Number
Integer
The memblock number
Array Name(0
Integer
The name of the array

  Returns

This command does not return a value.

  Example Code
dim mydata(10)
for t=0 to 10
a=rnd(255)
print a;
mydata(t)=a
next t
print
make memblock from array 1,mydata(0)
WRITE MEMBLOCK BYTE 1,0,255
make array from memblock mydata(0),1
for t=0 to 10
print mydata(t);
next t
do
loop
end
  See also

MEMBLOCKS Commands Menu
Index